<%@page import="java.util.List"%>
<%@page import="com.netcracker.entity.Country"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<% /*List<Country> countries = (List<Country>) request.getAttribute("countries");*/%>
<article id="registration">
    <header class="elem_bground">
        <h1 id="title">
            РЕГИСТРАЦИЯ
        </h1>
    </header>
    <section id="user_info" class="elem_bground">
        <form id="registration_form" action="ViewController?action=registration" method="post">
            <table class="form_table">
                <tr>
                    <th>Логин</th>
                    <td><input type="text" required name="username" size="35" placeholder="Введите логин"></td>
                </tr>
                <tr>
                    <th>Пароль</th>
                    <td><input type="password" required name="password" size="35" placeholder="Введите пароль"></td>
                </tr>
                <tr>
                    <th>Повторите пароль</th>
                    <td><input type="password" required name="password2" size="35" placeholder="Повторите пароль"></td>
                </tr>
                <tr>
                    <th>ФИО</th>
                    <td><input type="text" name="fullName" size="35" placeholder="Введите ФИО" required></td>
                </tr>
                <tr>
                    <th>Дата рождения</th>
                    <td><input type="date" name="bDate" required></td>
                </tr>
                <tr>
                    <th>Страна</th>
                    <td>
                        <select size="1" name="country">
                            <option disabled>Выберите страну</option>
                            <%
                               // for (Country currentCountry : countries) {
                            
                           // <option value="<%=currentCountry.getId()%\>"><%=currentCountry.getName()%\></option>
                            
                               // }
                            %>

                        </select>
                    </td>
                </tr>
            </table>
        </form>
    </section>
    <footer>
        <input type="submit" value="ОТПРАВИТЬ" class="button" form="registration_form">
    </footer>

</article>